package com.example.springbootes;

public class Demo1 {

    public static void main(String[] args) {
        SubClass_A sc=new SubClass_A(2,3);
        System.out.println(sc.i);
        System.out.println(sc.j);

    }

}
class SuperClass_A
{
    public int i=0;
    public int j=0;
    public SuperClass_A()
    {
        j=1;
    }
}
class SubClass_A extends SuperClass_A
{
    public int i;
    SubClass_A(int a,int b)
    {
        super();
        i=b;
    }
}
